package http

import (
	"log"
	"net/http"
)

func init() {
	configMemoryRoutes()
}

// Start http server
func Start(addr string) {
	if addr == "" {
		return
	}

	log.Println("listening ", addr)
	log.Fatalln(http.ListenAndServe(addr, nil))
}
